-
Home
-
WooCommerce Square
-
3.0.0
-
Code
-
Classes
- Connection
| Total Complexity |
45 |
| Dependencies |
6 |
| Dependents |
1 |
| Total lines |
484 |
| Lines of code |
204 |
| Logical lines of code |
114 |
| Comment lines |
154 |
| Methods |
17 |
| Properties |
1 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| handle_connected() |
A |
45 |
10 |
41 |
| refresh_connection() |
A |
44 |
9 |
45 |
| index_customers() |
S |
61 |
5 |
12 |
| handle_disconnect() |
S |
59 |
4 |
12 |
| get_connect_url() |
S |
58 |
2 |
15 |
| get_scopes() |
S |
58 |
1 |
17 |
| schedule_refresh() |
S |
65 |
2 |
8 |
| schedule_customer_index() |
S |
71 |
2 |
5 |
| get_refresh_url() |
S |
79 |
2 |
3 |
| __construct() |
S |
77 |
1 |
4 |
| add_hooks() |
S |
69 |
1 |
6 |
| disconnect() |
S |
70 |
1 |
7 |
| unschedule_refresh() |
S |
78 |
1 |
3 |
| get_connect_button_html() |
S |
66 |
1 |
9 |
| get_disconnect_button_html() |
S |
66 |
1 |
9 |
| get_disconnect_url() |
S |
71 |
1 |
5 |
| get_plugin() |
S |
82 |
1 |
3 |